<?php/*登录重复验证*/
	header('content-type:text/html;charset=utf-8');
	require 'mysqlpublic.php';
	$pw=$_POST['pw'];
	$phone=$_POST['phone'];
	if($phone){
		$sql="select * from userinfo where userphone='$phone' and password='$pw'";
	}
	$result=mysql_query($sql);
	if(mysql_fetch_array($result)){
		echo 1;
	}else{
		echo 0;
	}
	mysql_close($conn);
?>